import { Navigate } from "react-router-dom"
import Home from "../views/Home"
import Test from "../views/Test"
import Shops from "../views/Shops"
import Xiang from "../views/Xiang"

const route=[
    {
        path:'/',
        element:<Navigate to='/Home'></Navigate>

    },
    {
        path:'/Home',
        element:<Home></Home>
    },
    {
        path:'/Test',
        element:<Test></Test>
    },
    {
        path:'/Shops',
        element:<Shops></Shops>
    },
    {
        path:'/Xiang',
        element:<Xiang></Xiang>
    },
]




export default route